package com.niiwoo.civet.account.service;

import com.niiwoo.civet.account.dto.common.sendmessage.*;

/**
 * Created by Jaylin on 2018/1/10.
 */
public interface MessageSendDubboService {



    /**
     * 发送还款成功的站内信
     * @param repaymentSuccessDTO
     */
    void sendLetterForRepaymentFromKaola(RepaymentSuccessDTO repaymentSuccessDTO);

    /**
     * 发送还款成功的站内信
     * @param repaymentSuccessDTO
     */
    void sendLetterForRepayment(RepaymentSuccessDTO repaymentSuccessDTO);

    /**
     * 还款逾期发送站内信
     * @param repaymentOverdueDTO
     */
    void sendLetterForRepaymentOverdue(RepaymentOverdueDTO repaymentOverdueDTO);

    /**
     * 还款逾期发送短信
     * @param repaymentOverdueDTO
     */
    void sendSmsForRepaymentOverdue(RepaymentOverdueDTO repaymentOverdueDTO);

	/**
	 * 发送放款成功通知
	 * 
	 * @param lendSuccessNotifyDTO
	 */
	void sendNotfyForLendSuccess(LendSuccessNotifyDTO lendSuccessNotifyDTO);

    /**
     * 收款成功发送站内信
     * @param investReceiveDTO
     */
    void sendLetterForInvestReceive(InvestReceiveDTO investReceiveDTO);

    /**
     * 收款成功发送短信
     * @param investReceiveDTO
     */
    void sendSmsForInvestReceive(InvestReceiveDTO investReceiveDTO);

    /**
     * 投资回款通知【借款用户提前还款】发送站内信通知
     * @param investReceiveAdvanceDTO
     * @parm BatchRefundTypeEnum
     */
    void sendLetterForInvestReceiveAdvance(Byte batchRefundType, InvestReceiveAdvanceDTO investReceiveAdvanceDTO);

    /**
     * 发送还款提醒的站内信
     * @param repaymentRemindDTO
     */
    void sendLetterForRepaymentRemind(RepaymentRemindDTO repaymentRemindDTO);
}
